﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LL4
{
    class Cat : Animal,Tree
    {
        public override void Eat()
        {
            Console.WriteLine("我是猫，我吃猫粮");
        }
        public void Tree()
        {
            Console.WriteLine("我是猫，我会爬树");
        }
    }
}
